package com.WebMentorPro.system.mapper;


import com.WebMentorPro.system.model.dto.notification.NotificationQueryRequest;
import com.WebMentorPro.system.model.entity.Notification;
import com.WebMentorPro.system.model.vo.NotificationVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author bianxiaoyao
* @description 针对表【notification(异科导师消息通知表)】的数据库操作Mapper
* @createDate 2024-11-24 11:24:42
* @Entity generator.domain.Notification
*/
public interface NotificationMapper extends BaseMapper<Notification> {

    List<NotificationVO> getQueryByMy(@Param("pageParam")Page<NotificationVO> pageParam,
                                      @Param("notificationQueryRequest") NotificationQueryRequest notificationQueryRequest);

    List<NotificationVO> getQuery(@Param("pageParam") Page<NotificationVO> pageParam,
                                  @Param("notificationQueryRequest") NotificationQueryRequest notificationQueryRequest);
}




